/*
#####################################################################
####################	   T R I B U I T 		#####################
#####################################################################

Copyright (C) 2010  Christoph Schnack, Berlin (Germany)

This file is part of Tribuit.

    Tribuit is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Tribuit is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Tribuit.  If not, see <http://www.gnu.org/licenses/>.


########################################################################
*/
package Wordcheck;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.image.BufferedImage;

/**
 * A white hook with green background and the bounds of 70*70
 * 
 * @author Christoph Schnack
 *
 */
public class CorrectImage extends BufferedImage{
	public CorrectImage(){
		super(70, 70, BufferedImage.TYPE_INT_RGB);
		Graphics g = this.getGraphics();
		g.setColor(new Color(255,126,0));
		g.fillRect(0, 0, 70, 70);
		g.setColor(Color.green);
		for(int i = 0;i<10;i++){
			g.drawLine(10+i,40,30+i,60);
			g.drawLine(30+i, 60, 50+i, 10);
		}
	}
}